package com.yesun.task.pipeline.domain.po;

import lombok.Data;

import javax.persistence.*;
import java.sql.Timestamp;

@Data
@Entity
@Table(name = "ods_stock_rt_detail_df")
public class DetailPO {
    @Id
    @Column(name = "ts_code")
    private String tsCode;

    @Column(name = "dt")
    private String dt = "";

    @Column(name = "trade_date")
    private String tradeDate = "";

    @Column(name = "trade_datetime")
    private String tradeDateTime = "";

    @Column(name = "price")
    private float price = 0L;

    @Column(name = "vol")
    private String vol;

    @Column(name = "trade_count")
    private int tradeCount;

    @Column(name = "trade_type")
    private int tradeType;

}
